<template>
  <div class="index">
    <div class="text-pop-up-top welcom">欢迎使用安徽能通MES系统</div>
  </div>
</template>

<script setup name="Index">
import { onMounted } from 'vue';
import { useRouter } from 'vue-router';
const router = useRouter()
onMounted(() => {
  if(!localStorage.getItem('UUID')){
    router.replace('/login')
  }
});
</script>

<style lang="scss" scoped>

</style>